<?php
// Application Config
define('APPLICATION_ID',37);
define('DEFAULT_LANGUAGE','fr');
// Settings
define('SESSION_NAME','nawa');
define('SKIP_AUTH',true);
define('DEV_ENV', true);
define('CACHE_MENU', false);
define('CACHE_PAGE', false);

// Database Connections
Fox\Databases::databases()->register(\Fox\Databases::DB_FOX, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
	Fox\Databases::PARAM_DB       => 'fox_core_utf8',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
	Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));

// Application Data Base
Fox\Databases::databases()->register(\Fox\Databases::DB_APP, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
//	Fox\Databases::PARAM_DB       => 'nawa_ascopharm_prod',
	Fox\Databases::PARAM_DB       => 'nawa_utf8',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
	Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));

//Database
Fox\Authenticators::instance()->register(Fox\Authenticators::DRIVER_DB);

// Mailer
define('SEND_MAIL',true);
use Fox\Mailing\Mailer;
Mailer::instance()->register(array(
	Mailer::PARAM_FROM => 'noreplydev@orinea.com',
	Mailer::PARAM_SMTP => false,
));